home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 326-350 / disk_333 / multiplot / source / mplot_src / howto2.h < prev    next >
C/C++ Source or Header  |  1992-05-06  |  23KB  |  536 lines

  1.  
  2. USHORT chip PointData1[] = {
  3.         0x0000,0x0000,0x7FFF,0xFF80,0x4000,0x0080,0x4004,0x0080,
  4.         0x400A,0x0080,0x400A,0x0080,0x4011,0x0080,0x4020,0x8080,
  5.         0x4040,0x4080,0x4040,0x4080,0x4080,0x2080,0x40FF,0xE080,
  6.         0x4000,0x0080,0x4000,0x0080,0x7FFF,0xFF80,0x0000,0x0000
  7. };
  8.  
  9. struct Image Point1 = {
  10.         0,0,    /* XY origin relative to container TopLeft */
  11.         26,16,  /* Image width and height in pixels */
  12.         1,      /* number of bitplanes in Image */
  13.         PointData1,     /* pointer to ImageData */
  14.         0x0001,0x0000,  /* PlanePick and PlaneOnOff */
  15.         NULL    /* next Image structure */
  16. };
  17.  
  18. struct Gadget GadgPoint1 = {
  19.         NULL,   /* next gadget */
  20.         370,120,        /* origin XY of hit box relative to window TopLeft */
  21.         26,16,  /* hit box width and height */
  22.         GADGIMAGE,      /* gadget flags */
  23.         GADGIMMEDIATE, /* activation flags */
  24.         BOOLGADGET,     /* gadget type flags */
  25.         (APTR)&Point1,  /* gadget border or image to be rendered */
  26.         NULL,   /* alternate imagery for selection */
  27.         NULL,   /* first IntuiText structure */
  28.         NULL,   /* gadget mutual-exclude long word */
  29.         NULL,   /* SpecialInfo structure */
  30.         NULL,   /* user-definable data */
  31.         NULL    /* pointer to user-definable data */
  32. };
  33.  
  34. USHORT chip PointData2[] = {
  35.         0x0000,0x0000,0x7FFF,0xFF80,0x4000,0x0080,0x4000,0x0080,
  36.         0x400C,0x0080,0x4012,0x0080,0x4021,0x0080,0x4040,0x8080,
  37.         0x4040,0x8080,0x4021,0x0080,0x4012,0x0080,0x400C,0x0080,
  38.         0x4000,0x0080,0x4000,0x0080,0x7FFF,0xFF80,0x0000,0x0000
  39. };
  40.  
  41. struct Image Point2 = {
  42.         0,0,    /* XY origin relative to container TopLeft */
  43.         26,16,  /* Image width and height in pixels */
  44.         1,      /* number of bitplanes in Image */
  45.         PointData2,     /* pointer to ImageData */
  46.         0x0001,0x0000,  /* PlanePick and PlaneOnOff */
  47.         NULL    /* next Image structure */
  48. };
  49.  
  50. struct Gadget GadgPoint2 = {
  51.         &GadgPoint1,      /* next gadget */
  52.         340,120,        /* origin XY of hit box relative to window TopLeft */
  53.         26,16,  /* hit box width and height */
  54.         GADGIMAGE,      /* gadget flags */
  55.         GADGIMMEDIATE, /* activation flags */
  56.         BOOLGADGET,     /* gadget type flags */
  57.         (APTR)&Point2,  /* gadget border or image to be rendered */
  58.         NULL,   /* alternate imagery for selection */
  59.         NULL,   /* first IntuiText structure */
  60.         NULL,   /* gadget mutual-exclude long word */
  61.         NULL,   /* SpecialInfo structure */
  62.         NULL,   /* user-definable data */
  63.         NULL    /* pointer to user-definable data */
  64. };
  65.  
  66. USHORT chip PointData3[] = {
  67.         0x0000,0x0000,0x7FFF,0xFF00,0x4000,0x0100,0x4000,0x0100,
  68.         0x4000,0x0100,0x4021,0x0100,0x4012,0x0100,0x400C,0x0100,
  69.         0x400C,0x0100,0x4012,0x0100,0x4021,0x0100,0x4000,0x0100,
  70.         0x4000,0x0100,0x4000,0x0100,0x7FFF,0xFF00,0x0000,0x0000
  71. };
  72.  
  73. struct Image Point3 = {
  74.         0,0,    /* XY origin relative to container TopLeft */
  75.         25,16,  /* Image width and height in pixels */
  76.         1,      /* number of bitplanes in Image */
  77.         PointData3,     /* pointer to ImageData */
  78.         0x0001,0x0000,  /* PlanePick and PlaneOnOff */
  79.         NULL    /* next Image structure */
  80. };
  81.  
  82. struct Gadget GadgPoint3 = {
  83.         &GadgPoint2,      /* next gadget */
  84.         370,100, /* origin XY of hit box relative to window TopLeft */
  85.         25,16,  /* hit box width and height */
  86.         GADGIMAGE,      /* gadget flags */
  87.         GADGIMMEDIATE, /* activation flags */
  88.         BOOLGADGET,     /* gadget type flags */
  89.         (APTR)&Point3,  /* gadget border or image to be rendered */
  90.         NULL,   /* alternate imagery for selection */
  91.         NULL,   /* first IntuiText structure */
  92.         NULL,   /* gadget mutual-exclude long word */
  93.         NULL,   /* SpecialInfo structure */
  94.         NULL,   /* user-definable data */
  95.         NULL    /* pointer to user-definable data */
  96. };
  97.  
  98. USHORT chip PointData4[] = {
  99.         0x0000,0x0000,0x7FFF,0xFF00,0x4000,0x0100,0x4000,0x0100,
  100.         0x4000,0x0100,0x4008,0x0100,0x402A,0x0100,0x401C,0x0100,
  101.         0x407F,0x0100,0x401C,0x0100,0x402A,0x0100,0x4008,0x0100,
  102.         0x4000,0x0100,0x4000,0x0100,0x7FFF,0xFF00,0x0000,0x0000
  103. };
  104.  
  105. struct Image Point4 = {
  106.         0,0,    /* XY origin relative to container TopLeft */
  107.         25,16,  /* Image width and height in pixels */
  108.         1,      /* number of bitplanes in Image */
  109.         PointData4,     /* pointer to ImageData */
  110.         0x0001,0x0000,  /* PlanePick and PlaneOnOff */
  111.         NULL    /* next Image structure */
  112. };
  113.  
  114. struct Gadget GadgPoint4 = {
  115.         &GadgPoint3,       /* next gadget */
  116.         340,100, /* origin XY of hit box relative to window TopLeft */
  117.         25,16,  /* hit box width and height */
  118.         GADGIMAGE,      /* gadget flags */
  119.         GADGIMMEDIATE, /* activation flags */
  120.         BOOLGADGET,     /* gadget type flags */
  121.         (APTR)&Point4,  /* gadget border or image to be rendered */
  122.         NULL,   /* alternate imagery for selection */
  123.         NULL,   /* first IntuiText structure */
  124.         NULL,   /* gadget mutual-exclude long word */
  125.         NULL,   /* SpecialInfo structure */
  126.         NULL,   /* user-definable data */
  127.         NULL    /* pointer to user-definable data */
  128. };
  129.  
  130. USHORT chip PointData5[] = {
  131.         0x0000,0x0000,0x7FFF,0xFF80,0x4000,0x0080,0x4000,0x0080,
  132.         0x4004,0x0080,0x4004,0x0080,0x4004,0x0080,0x407F,0xC080,
  133.         0x4004,0x0080,0x4004,0x0080,0x4004,0x0080,0x4000,0x0080,
  134.         0x4000,0x0080,0x4000,0x0080,0x7FFF,0xFF80,0x0000,0x0000
  135. };
  136.  
  137. struct Image Point5 = {
  138.         0,0,    /* XY origin relative to container TopLeft */
  139.         26,16,  /* Image width and height in pixels */
  140.         1,      /* number of bitplanes in Image */
  141.         PointData5,     /* pointer to ImageData */
  142.         0x0001,0x0000,  /* PlanePick and PlaneOnOff */
  143.         NULL    /* next Image structure */
  144. };
  145.  
  146. struct Gadget GadgPoint5 = {
  147.         &GadgPoint4,       /* next gadget */
  148.         370,80, /* origin XY of hit box relative to window TopLeft */
  149.         26,16,  /* hit box width and height */
  150.         GADGIMAGE,      /* gadget flags */
  151.         GADGIMMEDIATE, /* activation flags */
  152.         BOOLGADGET,     /* gadget type flags */
  153.         (APTR)&Point5,  /* gadget border or image to be rendered */
  154.         NULL,   /* alternate imagery for selection */
  155.         NULL,   /* first IntuiText structure */
  156.         NULL,   /* gadget mutual-exclude long word */
  157.         NULL,   /* SpecialInfo structure */
  158.         NULL,   /* user-definable data */
  159.         NULL    /* pointer to user-definable data */
  160. };
  161.  
  162. USHORT chip PointData6[] = {
  163.         0x0000,0x0000,0x7FFF,0xFF80,0x4000,0x0080,0x4000,0x0080,
  164.         0x407F,0x0080,0x4041,0x0080,0x4041,0x0080,0x4041,0x0080,
  165.         0x4041,0x0080,0x4041,0x0080,0x4041,0x0080,0x407F,0x0080,
  166.         0x4000,0x0080,0x4000,0x0080,0x7FFF,0xFF80,0x0000,0x0000
  167. };
  168.  
  169. struct Image Point6 = {
  170.         0,0,    /* XY origin relative to container TopLeft */
  171.         26,16,  /* Image width and height in pixels */
  172.         1,      /* number of bitplanes in Image */
  173.         PointData6,     /* pointer to ImageData */
  174.         0x0001,0x0000,  /* PlanePick and PlaneOnOff */
  175.         NULL    /* next Image structure */
  176. };
  177.  
  178. struct Gadget GadgPoint6 = {
  179.         &GadgPoint5,       /* next gadget */
  180.         340,80, /* origin XY of hit box relative to window TopLeft */
  181.         26,16,  /* hit box width and height */
  182.         GADGIMAGE,      /* gadget flags */
  183.         GADGIMMEDIATE, /* activation flags */
  184.         BOOLGADGET,     /* gadget type flags */
  185.         (APTR)&Point6, /* gadget border or image to be rendered */
  186.         NULL,   /* alternate imagery for selection */
  187.         NULL,   /* first IntuiText structure */
  188.         NULL,   /* gadget mutual-exclude long word */
  189.         NULL,   /* SpecialInfo structure */
  190.         NULL,   /* user-definable data */
  191.         NULL    /* pointer to user-definable data */
  192. };
  193.  
  194. struct Gadget Gadget47 = {
  195.         &GadgPoint6,      /* next gadget */
  196.         209,92,        /* origin XY of hit box relative to window TopLeft */
  197.         60,17,  /* hit box width and height */
  198.         GADGHIMAGE+GADGIMAGE,   /* gadget flags */
  199.         GADGIMMEDIATE, /* activation flags */
  200.         BOOLGADGET,     /* gadget type flags */
  201.         (APTR)&Image6a, /* gadget border or image to be rendered */
  202.         NULL, /* alternate imagery for selection */
  203.         NULL,   /* first IntuiText structure */
  204.         NULL,   /* gadget mutual-exclude long word */
  205.         NULL,   /* SpecialInfo structure */
  206.         NULL,   /* user-definable data */
  207.         NULL    /* pointer to user-definable data */
  208. };
  209.  
  210. UBYTE Gadget46SIBuff[3] = "6";
  211. struct StringInfo Gadget46SInfo = {
  212.         Gadget46SIBuff, /* buffer where text will be edited */
  213.         NULL,   /* optional undo buffer */
  214.         0,      /* character position in buffer */
  215.         3,      /* maximum number of characters to allow */
  216.         0,      /* first displayed character buffer position */
  217.         0,0,0,0,0,      /* Intuition initialized and maintained variables */
  218.         0,      /* Rastport of gadget */
  219.         6,      /* initial value for integer gadgets */
  220.         NULL    /* alternate keymap (fill in if you set the flag) */
  221. };
  222.  
  223. SHORT BorderVectors12[] = {
  224.         0,0,
  225.         31,0,
  226.         31,17,
  227.         0,17,
  228.         0,1
  229. };
  230. struct Border Border12 = {
  231.         -5,-5,  /* XY origin relative to container TopLeft */
  232.         3,0,COMPLEMENT, /* front pen, back pen and drawmode */
  233.         5,      /* number of XY vectors */
  234.         BorderVectors12,        /* pointer to XY vectors */
  235.         NULL    /* next border in list */
  236. };
  237.  
  238. struct Gadget Gadget46 = {
  239.         &Gadget47,      /* next gadget */
  240.         216,130,        /* origin XY of hit box relative to window TopLeft */
  241.         26,16,  /* hit box width and height */
  242.         NULL,   /* gadget flags */
  243.         STRINGCENTER+LONGINT,     /* activation flags */
  244.         STRGADGET,      /* gadget type flags */
  245.         (APTR)&Border12,        /* gadget border or image to be rendered */
  246.         NULL,   /* alternate imagery for selection */
  247.         NULL,   /* first IntuiText structure */
  248.         NULL,   /* gadget mutual-exclude long word */
  249.         (APTR)&Gadget46SInfo,   /* SpecialInfo structure */
  250.         NULL,   /* user-definable data */
  251.         NULL    /* pointer to user-definable data */
  252. };
  253.  
  254. /* Default Colour Gadget */
  255.  
  256. USHORT chip ColourData1[] = {
  257.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  258.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  259.         0x0000,0x0000,0x0000,0x0000,0x0070,0x01C0,0x001C,0x2000,
  260.         0x0030,0x0360,0x000C,0x6000,0x01B1,0xE30F,0x198C,0xF800,
  261.         0x0373,0x3781,0x998C,0x6000,0x0333,0xF307,0x998C,0x6000,
  262.         0x0333,0x0319,0x998C,0x6800,0x01D9,0xE78E,0xCEDE,0x3000,
  263.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  264.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  265.         0x0000,0x0000,0x0000,0x0000,0xFFFF,0xFFFF,0xFFFF,0xFFC0,
  266.         0x8000,0x0000,0x0000,0x0040,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  267.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  268.         0xBF8F,0xFE3F,0xFFE3,0xDF40,0xBFCF,0xFC9F,0xFFF3,0x9F40,
  269.         0xBE4E,0x1CF0,0xE673,0x0740,0xBC8C,0xC87E,0x6673,0x9F40,
  270.         0xBCCC,0x0CF8,0x6673,0x9F40,0xBCCC,0xFCE6,0x6673,0x9740,
  271.         0xBE26,0x1871,0x3121,0xCF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  272.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  273.         0x8000,0x0000,0x0000,0x0040,0xFFFF,0xFFFF,0xFFFF,0xFFC0
  274. };
  275.  
  276. struct Image Colour1 = {
  277.         0,0,    /* XY origin relative to container TopLeft */
  278.         58,17,  /* Image width and height in pixels */
  279.         2,      /* number of bitplanes in Image */
  280.         ColourData1,     /* pointer to ImageData */
  281.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  282.         NULL    /* next Image structure */
  283. };
  284.  
  285. /* Example Colour Gadget */
  286.  
  287. USHORT chip ColourData2[] = {
  288.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  289.         0x3FFF,0xFFFF,0xFFFF,0xFF00,0x2000,0x0000,0x0000,0x0100,
  290.         0x2000,0x0000,0x0000,0x0100,0x2000,0x0000,0x0000,0x0100,
  291.         0x2000,0x0000,0x0000,0x0100,0x2000,0x0000,0x0000,0x0100,
  292.         0x2000,0x0000,0x0000,0x0100,0x2000,0x0000,0x0000,0x0100,
  293.         0x2000,0x0000,0x0000,0x0100,0x2000,0x0000,0x0000,0x0100,
  294.         0x2000,0x0000,0x0000,0x0100,0x2000,0x0000,0x0000,0x0100,
  295.         0x3FFF,0xFFFF,0xFFFF,0xFF00,0x0000,0x0000,0x0000,0x0000,
  296.         0x0000,0x0000,0x0000,0x0000
  297. };
  298.  
  299. struct Image Colour2 = {
  300.         0,0,    /* XY origin relative to container TopLeft */
  301.         58,17,  /* Image width and height in pixels */
  302.         1,      /* number of bitplanes in Image */
  303.         ColourData2,     /* pointer to ImageData */
  304.         0x0,0x4,  /* PlanePick and PlaneOnOff */
  305.         NULL    /* next Image structure */
  306. };
  307.  
  308.  
  309. /* Colour Selector Gadget */
  310.  
  311. struct Gadget Gadget45 = {
  312.         &Gadget46,      /* next gadget */
  313.         209,59,        /* origin XY of hit box relative to window TopLeft */
  314.         60,17,  /* hit box width and height */
  315.         GADGHIMAGE+GADGIMAGE,   /* gadget flags */
  316.         GADGIMMEDIATE,     /* activation flags */
  317.         BOOLGADGET,     /* gadget type flags */
  318.         (APTR)&Colour1, /* gadget border or image to be rendered */
  319.         NULL, /* alternate imagery for selection */
  320.         NULL,   /* first IntuiText structure */
  321.         NULL,   /* gadget mutual-exclude long word */
  322.         NULL,   /* SpecialInfo structure */
  323.         NULL,   /* user-definable data */
  324.         NULL    /* pointer to user-definable data */
  325. };
  326.  
  327. /* Stop Image Data */
  328.  
  329. USHORT chip StopData[] = {
  330.         0x0000,0x0000,0x0000,0x0000,0x0000,0x007F,0xFE00,0x0000,
  331.         0x0000,0x07FF,0xFFE0,0x0000,0x0000,0x1FFF,0xFFF8,0x0000,
  332.         0x0000,0x7FFF,0xFFFE,0x0000,0x0001,0xFFF0,0x0FFF,0x8000,
  333.         0x0003,0xFF00,0x00FF,0xC000,0x000F,0xFC00,0x003F,0xF000,
  334.         0x001F,0xF000,0x000F,0xF800,0x003F,0xC000,0x0003,0xFC00,
  335.         0x007F,0x8000,0x0001,0xFE00,0x00FE,0x0000,0x0000,0x7F00,
  336.         0x01FC,0x0000,0x0000,0x3F80,0x01F8,0x0000,0x0000,0x1F80,
  337.         0x03F0,0x0000,0x0000,0x0FC0,0x07E0,0x0000,0x0000,0x07E0,
  338.         0x07E0,0x0000,0x0000,0x07E0,0x0FC0,0x0000,0x0000,0x03F0,
  339.         0x0F80,0x0000,0x0000,0x01F0,0x1F80,0x0000,0x0000,0x01F8,
  340.         0x1F00,0x0000,0x0000,0x00F8,0x3F00,0x0000,0x0000,0x00FC,
  341.         0x3E00,0x0000,0x0000,0x007C,0x3E00,0x0000,0x0000,0x007C,
  342.         0x3C00,0x0000,0x0000,0x003C,0x7C00,0x0000,0x0000,0x003E,
  343.         0x7C00,0x0000,0x0000,0x003E,0x7C03,0xE820,0x0000,0x003E,
  344.         0x780E,0x1860,0x0000,0x001E,0x781C,0x0860,0x0000,0x001E,
  345.         0x7807,0x01F8,0x1F9D,0xE01E,0x7801,0xC060,0x30CE,0x301E,
  346.         0x7800,0x7060,0x30CC,0x301E,0x7810,0x3860,0x30CC,0x301E,
  347.         0x7818,0x7066,0x30CC,0x301E,0x7817,0xC03C,0x1F8F,0xE01E,
  348.         0x7C00,0x0000,0x000C,0x003E,0x7C00,0x0000,0x000C,0x003E,
  349.         0x7C00,0x0000,0x001E,0x003E,0x3C00,0x0000,0x0000,0x003C,
  350.         0x3E00,0x0000,0x0000,0x007C,0x3E00,0x0000,0x0000,0x007C,
  351.         0x3F00,0x0000,0x0000,0x00FC,0x1F00,0x0000,0x0000,0x00F8,
  352.         0x1F80,0x0000,0x0000,0x01F8,0x0F80,0x0000,0x0000,0x01F0,
  353.         0x0FC0,0x0000,0x0000,0x03F0,0x07E0,0x0000,0x0000,0x07E0,
  354.         0x07E0,0x0000,0x0000,0x07E0,0x03F0,0x0000,0x0000,0x0FC0,
  355.         0x01F8,0x0000,0x0000,0x1F80,0x01FC,0x0000,0x0000,0x3F80,
  356.         0x00FE,0x0000,0x0000,0x7F00,0x007F,0x8000,0x0001,0xFE00,
  357.         0x003F,0xC000,0x0003,0xFC00,0x001F,0xF000,0x000F,0xF800,
  358.         0x000F,0xFC00,0x003F,0xF000,0x0003,0xFF00,0x00FF,0xC000,
  359.         0x0001,0xFFF0,0x0FFF,0x8000,0x0000,0x7FFF,0xFFFE,0x0000,
  360.         0x0000,0x1FFF,0xFFF8,0x0000,0x0000,0x07FF,0xFFE0,0x0000,
  361.         0x0000,0x007F,0xFE00,0x0000,0x0000,0x0000,0x0000,0x0000
  362. };
  363.  
  364.  
  365. struct Image Stop = {
  366.         0,0,    /* XY origin relative to container TopLeft */
  367.         64,64,  /* Image width and height in pixels */
  368.         1,      /* number of bitplanes in Image */
  369.         StopData,     /* pointer to ImageData */
  370.         0x0001,0x0000,  /* PlanePick and PlaneOnOff */
  371.         NULL    /* next Image structure */
  372. };
  373.  
  374.  
  375. struct Gadget GadgetStop = {
  376.         &Gadget45,      /* next gadget */
  377.         55,170, /* origin XY of hit box relative to window TopLeft */
  378.         64,64,  /* hit box width and height */
  379.         GADGHIMAGE+GADGIMAGE,   /* gadget flags */
  380.         GADGIMMEDIATE,     /* activation flags */
  381.         BOOLGADGET,     /* gadget type flags */
  382.         (APTR)&Stop, /* gadget border or image to be rendered */
  383.         NULL, /* alternate imagery for selection */
  384.         NULL,   /* first IntuiText structure */
  385.         NULL,   /* gadget mutual-exclude long word */
  386.         NULL,   /* SpecialInfo structure */
  387.         NULL,   /* user-definable data */
  388.         NULL    /* pointer to user-definable data */
  389. };
  390.  
  391.  
  392.  
  393. /* Skip Image Data */
  394.  
  395. USHORT chip SkipData[] = {
  396.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x1FFF,0xFFFF,
  397.         0xFFFF,0xFFFF,0xFFFF,0xF000,0x3FFF,0xFFFF,0xFFFF,0xFFFF,
  398.         0xFFFF,0xF800,0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC00,
  399.         0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC00,0x7FFF,0xFFFF,
  400.         0xFFFF,0xFFFF,0xFFFF,0xFC00,0x7C00,0x0000,0x0000,0x0000,
  401.         0x0000,0x7C00,0x7C00,0x0000,0x0000,0x0000,0x0000,0x7C00,
  402.         0x7C00,0x0000,0x0000,0x0000,0x0000,0x7C00,0x7C00,0x0000,
  403.         0x0000,0x0000,0x0000,0x7C00,0x7C00,0x0000,0x0000,0x0000,
  404.         0x0000,0x7C00,0x7C00,0x0000,0x0000,0x0000,0x0000,0x7C00,
  405.         0x7C00,0x0000,0x0000,0x0000,0x0000,0x7C00,0x7C00,0x000F,
  406.         0xAE00,0xC000,0x0000,0x7C00,0x7C00,0x0038,0x6600,0xC000,
  407.         0x0000,0x7C00,0x7C00,0x0070,0x2638,0x0000,0x0000,0x7C00,
  408.         0x7C00,0x001C,0x0621,0xC778,0x0000,0x7C00,0x7C00,0x0007,
  409.         0x0640,0xC38C,0x0000,0x7C00,0x7C00,0x0001,0xC780,0xC30C,
  410.         0x0000,0x7C00,0x7C00,0x0040,0xE6C0,0xC30C,0x0000,0x7C00,
  411.         0x7C00,0x0061,0xC660,0xC30C,0x0000,0x7C00,0x7C00,0x005F,
  412.         0x0F79,0xE3F8,0x0000,0x7C00,0x7C00,0x0000,0x0000,0x0300,
  413.         0x0000,0x7C00,0x7C00,0x0000,0x0000,0x0300,0x0000,0x7C00,
  414.         0x7C00,0x0000,0x0000,0x0780,0x0000,0x7C00,0x7C00,0x0000,
  415.         0x0000,0x0000,0x0000,0x7C00,0x7C00,0x0000,0x0000,0x0000,
  416.         0x0000,0x7C00,0x7C00,0x0000,0x0000,0x0000,0x0000,0x7C00,
  417.         0x7C00,0x0000,0x0000,0x0000,0x0000,0x7C00,0x7C00,0x0000,
  418.         0x0000,0x0000,0x0000,0x7C00,0x7C00,0x0000,0x0000,0x0000,
  419.         0x0000,0x7C00,0x7C00,0x0000,0x0000,0x0000,0x0000,0x7C00,
  420.         0x7C00,0x0000,0x0000,0x0000,0x0000,0x7C00,0x7FFF,0xFFFF,
  421.         0xFFFF,0xFFFF,0xFFFF,0xFC00,0x7FFF,0xFFFF,0xFFFF,0xFFFF,
  422.         0xFFFF,0xFC00,0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC00,
  423.         0x3FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xF800,0x1FFF,0xFFFF,
  424.         0xFFFF,0xFFFF,0xFFFF,0xF000,0x0000,0x0000,0x0000,0x0000,
  425.         0x0000,0x0000
  426. };
  427.  
  428. struct Image Skip = {
  429.         0,0,    /* XY origin relative to container TopLeft */
  430.         87,39,  /* Image width and height in pixels */
  431.         2,      /* number of bitplanes in Image */
  432.         SkipData,     /* pointer to ImageData */
  433.         0x0001,0x0000,  /* PlanePick and PlaneOnOff */
  434.         NULL    /* next Image structure */
  435. };
  436.  
  437.  
  438. struct Gadget GadgetSkip = {
  439.         &GadgetStop,      /* next gadget */
  440.         175,186, /* origin XY of hit box relative to window TopLeft */
  441.         87,39,  /* hit box width and height */
  442.         GADGHIMAGE+GADGIMAGE,   /* gadget flags */
  443.         GADGIMMEDIATE,     /* activation flags */
  444.         BOOLGADGET,     /* gadget type flags */
  445.         (APTR)&Skip, /* gadget border or image to be rendered */
  446.         NULL, /* alternate imagery for selection */
  447.         NULL,   /* first IntuiText structure */
  448.         NULL,   /* gadget mutual-exclude long word */
  449.         NULL,   /* SpecialInfo structure */
  450.         NULL,   /* user-definable data */
  451.         NULL    /* pointer to user-definable data */
  452. };
  453.  
  454. extern struct Image Continue;
  455.  
  456. struct Gadget Gadget43 = {
  457.         &GadgetSkip,      /* next gadget */
  458.         330,180,        /* origin XY of hit box relative to window TopLeft */
  459.         99,43,  /* hit box width and height */
  460.         GADGHBOX+GADGHIMAGE+GADGIMAGE,  /* gadget flags */
  461.         GADGIMMEDIATE,  /* activation flags */
  462.         BOOLGADGET,     /* gadget type flags */
  463.         (APTR)&Continue, /* gadget border or image to be rendered */
  464.         NULL,   /* alternate imagery for selection */
  465.         NULL,   /* first IntuiText structure */
  466.         NULL,   /* gadget mutual-exclude long word */
  467.         NULL,   /* SpecialInfo structure */
  468.         NULL,   /* user-definable data */
  469.         NULL    /* pointer to user-definable data */
  470. };
  471.  
  472. struct IntuiText IText20 = {
  473.         1,0,JAM2,       /* front and back text pens, drawmode and fill byte */
  474.         320,57, /* XY origin relative to container TopLeft */
  475.         NULL,   /* font pointer or NULL for default */
  476.         "Point Type:",    /* pointer to text */
  477.         NULL        /* next IntuiText structure */
  478. };
  479.  
  480. struct IntuiText IText19 = {
  481.         1,0,JAM2,       /* front and back text pens, drawmode and fill byte */
  482.         52,130, /* XY origin relative to container TopLeft */
  483.         NULL,   /* font pointer or NULL for default */
  484.         "Point Size (1-20)",    /* pointer to text */
  485.         &IText20        /* next IntuiText structure */
  486. };
  487.  
  488. struct IntuiText IText18 = {
  489.         1,0,JAM2,       /* front and back text pens, drawmode and fill byte */
  490.         94,97, /* XY origin relative to container TopLeft */
  491.         NULL,   /* font pointer or NULL for default */
  492.         "Plot Data as", /* pointer to text */
  493.         &IText19        /* next IntuiText structure */
  494. };
  495.  
  496. struct IntuiText IText17 = {
  497.         1,0,JAM2,       /* front and back text pens, drawmode and fill byte */
  498.         39,63, /* XY origin relative to container TopLeft */
  499.         NULL,   /* font pointer or NULL for default */
  500.         "  Select Colour -->",  /* pointer to text */
  501.         &IText18        /* next IntuiText structure */
  502. };
  503.  
  504. struct IntuiText IText16 = {
  505.         1,0,JAM1,       /* front and back text pens, drawmode and fill byte */
  506.         152,22, /* XY origin relative to container TopLeft */
  507.         NULL,   /* font pointer or NULL for default */
  508.         NULL,       /* pointer to text */
  509.         &IText17        /* next IntuiText structure */
  510. };
  511.  
  512. char title1[]="                Custom Plot Window              ";
  513.  
  514. char SetText[20][18]={"First Data Set",
  515.                     "Second Data Set",
  516.                     "Third Data Set",
  517.                     "Fourth Data Set",
  518.                     "Fifth Data Set",
  519.                     "Sixth Data Set",
  520.                     "Seventh Data Set",
  521.                     "Eighth Data Set",
  522.                     "Nineth Data Set",
  523.                     "Tenth Data Set",
  524.                     "Eleventh Data Set",
  525.                     "Twelfth Data Set",
  526.                     "Thirteenth Set",
  527.                     "Fourteenth Set",
  528.                     "Fifteenth Set",
  529.                     "Sixteenth Set",
  530.                     "Seventeenth Set",
  531.                     "Eighteenth Set",
  532.                     "Nineteenth Set",
  533.                     "Next Data Set"};
  534.  
  535.  
  536.